<!-- 组织机构管理 -->
<div class="easyui-layout">
    <div class="easyui-tabs" style="height:700px;padding: 5px;">

        <div title="生命线">
            <div style="margin:20px;">
                {#工具栏#}
                <div id="toolbar_lifelines" style="padding:5px">
                    <button class="easyui-linkbutton" onclick="$('#win_line_add').window('open')">添加生命线</button>
                </div>
                {#搜索条件#}
                <div style="margin: 5px;">
                    <form action="" id="form_lifelines">
                         <input id="lifelins_stock_code" class="easyui-combobox" name="stock_code"
                               data-options="valueField:'stock_code',textField:'stock_name',url:'/lifeline/comboBox-stocks'" value=''/>
                        <a href="#" id="search_lifelines">Search</a>
                    </form>
                </div>

                {#查询结果#}
                <table id="tb_all_lifelines" >
                </table>


                {#------------------------------------------------------------------------------#}
                {#弹窗#}
                <div id="win_line_add" class="easyui-window" title="add"
                     data-options="modal:true,closed:true,iconCls:'icon-save'"
                     style="width:500px;height:500px;padding:10px;">
                    <form id="form_line_add" method="post" action="/lifeline/add">
                        <table style="padding: 5px" >
                            <tr>
                                <td>股票名称:</td>
                                <td>
                                     <input id="lifelins_stock_code" class="easyui-combobox" name="stock_code"
                               data-options="valueField:'stock_code',textField:'stock_name',url:'/lifeline/comboBox-stocks'" value=''/>
                                </td>
                            </tr>
                           
                            <tr>
                                <td>价格:</td>
                                <td>
                                    <input class="easyui-textbox" type="text" name="line_price"
                                           data-options="required:true"></input>
                                </td>
                            </tr>
                            <tr>
                                <td>日期:</td>
                                <td>
                                    <input id="lifeline_add_date" class="easyui-datebox" type="text" name="line_date"
                                           data-options="required:true"></input>
                                </td>
                            </tr>
                            <tr>
                                <button class="easyui-linkbutton" >提交</button>
                            </tr>
                        </table>
                    </form>
                </div>

            </div>

        </div>

    </div>


</div>

<script type="text/javascript" src="/web/static/js/index.js"></script>
<script type="text/javascript" src="/web/static/js/stock_lifelines.js"></script>

